t
Application Editor*129*

The Application editor is invoked by selecting Edit Application from the Exec menu, or by selecting Enter Editor from the Apple menu when the attributes window of an «Application» is frontmost, or by clicking the Graphic check box on a Value window displaying an «Application».*129*

Name*130*

An editable-text field that displays the value of the attribute name. This is the name that will appear in the About… item in the Apple menu when the «Application» is running.

About Method*130*

An editable-text field that displays the value of the attribute about method, that is, the name of the method executed when the About… item in the Apple menu is selected while the «Application» is running.

Classes*130*

A scrolling list, displaying the names of class Window and its subclasses, or of class Menu and its subclasses, depending on which of the radio buttons, Windows or Menus, is selected. Double-clicking a class in this list creates a new instance of this class. The new instance is added before the selected item in the List of Instances scrolling list. This latter list displays the value of attribute window lib (or menu lib) of the «Application». If the button Active List is selected, the instance is also added to the «Application»’s windows (or menus) list.

List of Instances*130*

A scrolling list, displaying names of «Window»s or «Menu»s, depending on which of the radio buttons, Windows or Menus, is selected. If the radio button Library has been clicked, the list displayed is the value of attribute window lib (or menu lib) of the «Application». If the radio button Active List has been clicked, the list displayed is the value of attribute windows (or menus) of the «Application». 

The order of the list can be changed by Command-click-dragging one item at a time. A single-click on an instance in this list selects not only the instance but also the class from the scrolling list Classes to which this instance belongs. Double-clicking on an instance invokes its corresponding editor. 

Windows/Menus*130*

The selected radio button determines whether window classes and window instances, or menu classes and menu instances, are displayed in the two scrolling lists.

Library/Active List*131*

The selected radio button determines whether the names displayed in the scrolling list List of Instances are the names of the instances in attribute window lib (or menu lib), or those in the attribute windows (or menus).

>>New Instance>>*131*

Creates a new instance of the class selected in the scrolling list Classes, as detailed in the description of the scrolling list Classes above.

<<Set Defaults<<*131*

Available only if an instance is selected in List of Instances. The values of the attributes of the selected instance are made the default values of the selected class in the scrolling list Classes.

Install*131*

Available only if the «Application» being edited is not the value of class attribute current of class Application. Sets the value of this attribute to the «Application». 

Add to Active List*131*

Available only if the radio button Library is selected, an instance is selected in List of Instances, and this selected instance is not already in the list in the attribute windows (or menus). Adds the selected instance to the end of the list in the attribute windows (or menus).

Delete*131*

Available only if an instance is selected in List of Instances. The instance is deleted from the list in the attribute window lib (or menu lib): if the button Library is selected, the instance is also deleted from the list in the attribute windows (or menus) In both cases, the scrolling list List of Instances is updated. Deleting an item from window lib (or menu lib) will first produce a dialog asking for confirmation. 

Edit*132*

Available only if an instance is selected in List of Instances. Opens the appropriate editor on the selected instance. If the instance is a «Window», the WYSIWYG Window editor is opened. Otherwise, the Menu editor is opened. Double-clicking an item in List of Instances accomplishes the same thing. 

Apple Events*132*

Provides access to the Apple Event Editor. Refer to the section “Access to Events” in this chapter.